package com.gh.pattern.prototype.deep;

import java.io.Serializable;

//九尾
public class Jiuwei implements Serializable{
    public float h = 200;
    public float d = 20;

    public void big() {
        this.d *= 2;
        this.h *= 2;
    }

    public void small() {
        this.d /=2;
        this.h /=2;
    }
}
